import App from './App'

//引入Uview框架
import uView from "uview-ui";
Vue.use(uView);
//封装接口
import {myRequest} from '@/common/http.js'
import {BASE_URL,IMG_URL} from '@/env.js'
Vue.prototype.$myRequest = myRequest;
Vue.prototype.$BASE_URL = BASE_URL;
Vue.prototype.$IMG_URL = IMG_URL;

// #ifndef VUE3
import Vue from 'vue'
Vue.config.productionTip = false
App.mpType = 'app'
const app = new Vue({
	...App
})
app.$mount()
// #endif

// #ifdef VUE3
import {
	createSSRApp
} from 'vue'
export function createApp() {
	const app = createSSRApp(App)
	return {
		app
	}
}
// #endif
